<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>IString | jsdk-lang-api</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">jsdk-lang-api</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/istring.html">&quot;IString&quot;</a>
				</li>
				<li>
					<a href="istring.istring-1.html">IString</a>
				</li>
			</ul>
			<h1>Class IString</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>字符串操作对应的工具类接口定义</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">IString</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#charat" class="tsd-kind-icon">char<wbr>At</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#contains" class="tsd-kind-icon">contains</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#endwith" class="tsd-kind-icon">end<wbr>With</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#format" class="tsd-kind-icon">format</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#indexof" class="tsd-kind-icon">index<wbr>Of</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#isblank" class="tsd-kind-icon">is<wbr>Blank</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#isempty" class="tsd-kind-icon">is<wbr>Empty</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#isnotblank" class="tsd-kind-icon">is<wbr>Not<wbr>Blank</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#isnotempty" class="tsd-kind-icon">is<wbr>Not<wbr>Empty</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#isnotnullorempty" class="tsd-kind-icon">is<wbr>Not<wbr>Null<wbr>OrEmpty</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#isnullorempty" class="tsd-kind-icon">is<wbr>Null<wbr>OrEmpty</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#isstring" class="tsd-kind-icon">is<wbr>String</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#lastindexof" class="tsd-kind-icon">last<wbr>Index<wbr>Of</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#padleft" class="tsd-kind-icon">pad<wbr>Left</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#padright" class="tsd-kind-icon">pad<wbr>Right</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#replace" class="tsd-kind-icon">replace</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#replaceall" class="tsd-kind-icon">replace<wbr>All</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#replacefirst" class="tsd-kind-icon">replace<wbr>First</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#split" class="tsd-kind-icon">split</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#startwith" class="tsd-kind-icon">start<wbr>With</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#striphtml" class="tsd-kind-icon">stripHTML</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#substr" class="tsd-kind-icon">substr</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#substring" class="tsd-kind-icon">substring</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#tocamelcase" class="tsd-kind-icon">to<wbr>Camel<wbr>Case</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#tojson" class="tsd-kind-icon">to<wbr>Json</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#tolowercase" class="tsd-kind-icon">to<wbr>Lower<wbr>Case</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#tostring" class="tsd-kind-icon">to<wbr>String</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#touppercase" class="tsd-kind-icon">to<wbr>Upper<wbr>Case</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#trim" class="tsd-kind-icon">trim</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#trimleft" class="tsd-kind-icon">trim<wbr>Left</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#trimright" class="tsd-kind-icon">trim<wbr>Right</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="istring.istring-1.html#valueof" class="tsd-kind-icon">value<wbr>Of</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="charat" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> char<wbr>At</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">char<wbr>At<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L14">IString.ts:14</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>表示字符串中某个位置的数字，即字符在字符串中的下标。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>index: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>表示字符串中某个位置的数字，即字符在字符串中的下标。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>字符串中第一个字符的下标是 0。如果参数 index 不在 0 与 string.length 之间，该方法将返回一个空字符串。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="contains" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> contains</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">contains<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, sbustr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L24">IString.ts:24</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>检查是否传入的字符串包含在这个字符串中</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>sbustr: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要搜索的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true:包含 false:不包含</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="endwith" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> end<wbr>With</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">end<wbr>With<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, suffix<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L43">IString.ts:43</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断字符串是否以suffix结尾</p>
									<pre><code>IString.<span class="hljs-keyword">endWith</span>(<span class="hljs-literal">null</span>, <span class="hljs-literal">null</span>)      = <span class="hljs-literal">true</span>
IString.<span class="hljs-keyword">endWith</span>(<span class="hljs-literal">null</span>, <span class="hljs-string">"def"</span>)     = <span class="hljs-literal">false</span>
IString.<span class="hljs-keyword">endWith</span>(<span class="hljs-string">"abcdef"</span>, <span class="hljs-literal">null</span>)  = <span class="hljs-literal">false</span>
IString.<span class="hljs-keyword">endWith</span>(<span class="hljs-string">"abcdef"</span>, <span class="hljs-string">"def"</span>) = <span class="hljs-literal">true</span>
IString.<span class="hljs-keyword">endWith</span>(<span class="hljs-string">"ABCDEF"</span>, <span class="hljs-string">"def"</span>) = <span class="hljs-literal">false</span>
IString.<span class="hljs-keyword">endWith</span>(<span class="hljs-string">"ABCDEF"</span>, <span class="hljs-string">"cde"</span>) = <span class="hljs-literal">false</span>
IString.<span class="hljs-keyword">endWith</span>(<span class="hljs-string">"ABCDEF"</span>, <span class="hljs-string">""</span>)    = <span class="hljs-literal">true</span>
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>suffix: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要搜索的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true:是  false:否</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="format" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> format</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">format<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, context<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L56">IString.ts:56</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>根据给定的字符串格式化,ES6则可以忽视这个方法</p>
									<pre><code>format<span class="hljs-function"><span class="hljs-params">(<span class="hljs-string">"我是{{country}}人"</span>,{country:<span class="hljs-string">'中国'</span>})</span> -&gt;</span> 我是中国人
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定需要格式化的字符串</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> context: <span class="tsd-signature-type">object</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的对象</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>格式化后的结果</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="indexof" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> index<wbr>Of</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">index<wbr>Of<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, substr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L88">IString.ts:88</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>检索字符串位置,从前往后检索</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>substr: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要搜索的字符串</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> index: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>搜索的起始位置</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>-1:substr 不在 str中,其它则表示subStr其所在的位置</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="isblank" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Blank</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Blank<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L104">IString.ts:104</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断给予的对象是否长度为空或由空白字符串组成</p>
									<pre><code> IString.isBlank(<span class="hljs-literal">null</span>)      = <span class="hljs-literal">true</span>
 IString.isBlank(<span class="hljs-string">""</span>)        = <span class="hljs-literal">true</span>
 IString.isBlank(<span class="hljs-string">" "</span>)       = <span class="hljs-literal">true</span>
 IString.isBlank(<span class="hljs-string">"bob"</span>)     = <span class="hljs-literal">false</span>
 IString.isBlank(<span class="hljs-string">"  bob  "</span>) = <span class="hljs-literal">false</span>
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="isempty" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Empty</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Empty<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L120">IString.ts:120</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断给予的对象是否为空字符串或长度为0</p>
									<pre><code> IString.<span class="hljs-built_in">isEmpty</span>(<span class="hljs-literal">null</span>)      = <span class="hljs-literal">true</span>
 IString.<span class="hljs-built_in">isEmpty</span>(<span class="hljs-string">""</span>)        = <span class="hljs-literal">true</span>
 IString.<span class="hljs-built_in">isEmpty</span>(<span class="hljs-string">" "</span>)       = <span class="hljs-literal">false</span>
 IString.<span class="hljs-built_in">isEmpty</span>(<span class="hljs-string">"bob"</span>)     = <span class="hljs-literal">false</span>
 IString.<span class="hljs-built_in">isEmpty</span>(<span class="hljs-string">"  bob  "</span>) = <span class="hljs-literal">false</span>
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="isnotblank" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Not<wbr>Blank</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Not<wbr>Blank<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L135">IString.ts:135</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断给予的字符串不是null且不是仅仅由空白字符串组成
										IString.isNotBlank(null)      = false
										IString.isNotBlank(&quot;&quot;)        = false
										IString.isNotBlank(&quot; &quot;)       = false
										IString.isNotBlank(&quot;bob&quot;)     = true
										IString.isNotBlank(&quot;  bob  &quot;) = true
									~~~</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="isnotempty" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Not<wbr>Empty</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Not<wbr>Empty<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L151">IString.ts:151</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断给予的对象是否不为空字符串或长度为0</p>
									<pre><code> IString.isNotEmpty(<span class="hljs-literal">null</span>)      = <span class="hljs-literal">false</span>
 IString.isNotEmpty(<span class="hljs-string">""</span>)        = <span class="hljs-literal">false</span>
 IString.isNotEmpty(<span class="hljs-string">" "</span>)       = <span class="hljs-literal">true</span>
 IString.isNotEmpty(<span class="hljs-string">"bob"</span>)     = <span class="hljs-literal">true</span>
 IString.isNotEmpty(<span class="hljs-string">"  bob  "</span>) = <span class="hljs-literal">true</span>
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="isnotnullorempty" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Not<wbr>Null<wbr>OrEmpty</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Not<wbr>Null<wbr>OrEmpty<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L160">IString.ts:160</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断给定的字符串不是null或空字符串</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true:不是空字符串  false:是空字符串</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="isnullorempty" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Null<wbr>OrEmpty</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Null<wbr>OrEmpty<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L169">IString.ts:169</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断给定的字符串不是null或空字符串</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true:空字符串  false:不是空字符串</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="isstring" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>String</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">is<wbr>String<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L178">IString.ts:178</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断给予的对象是否是String类型</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true:是字符串类型  false:不是字符串类型</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="lastindexof" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> last<wbr>Index<wbr>Of</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">last<wbr>Index<wbr>Of<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, substr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L189">IString.ts:189</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>检索字符串位置,从后往前检索</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>substr: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要搜索的字符串</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> index: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;str.length</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>搜索的起始位置</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>-1:subStr 不在 str中,其它则表示substr最后一次在的位置</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="padleft" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> pad<wbr>Left</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">pad<wbr>Left<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, padStr<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L216">IString.ts:216</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>从左边填充给定的字符串,当长度小于size的大小时</p>
									<pre><code>IString.padLeft(<span class="hljs-string">""</span>, <span class="hljs-number">3</span>)     = <span class="hljs-string">"   "</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">3</span>)  = <span class="hljs-string">"bat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>)  = <span class="hljs-string">"  bat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">1</span>)  = <span class="hljs-string">"bat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">-1</span>) = <span class="hljs-string">"bat"</span>
IString.padLeft(<span class="hljs-string">""</span>, <span class="hljs-number">3</span>, <span class="hljs-string">"z"</span>)      = <span class="hljs-string">"zzz"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">3</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"bat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"yzbat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">8</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"yzyzybat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">1</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"bat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">-1</span>, <span class="hljs-string">"yz"</span>) = <span class="hljs-string">"bat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>, null)  = <span class="hljs-string">"  bat"</span>
IString.padLeft(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>, <span class="hljs-string">" "</span>)    = <span class="hljs-string">"  bat"</span>
</code></pre>
								</div>
								<dl class="tsd-comment-tags">
									<dt>optional</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>size: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>最终的字符串长度</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> padStr: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;&quot; &quot;</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的需要填充的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">null</span>
							</h4>
							<p>返回填充完成的字符串,如果给定字符串为null,则返回null</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="padright" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> pad<wbr>Right</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">pad<wbr>Right<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, padStr<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L260">IString.ts:260</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>从右侧填充给定的字符串,当长度小于size的大小时</p>
									<pre><code>IString.padRight(<span class="hljs-string">""</span>, <span class="hljs-number">3</span>)     = <span class="hljs-string">"   "</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">3</span>)  = <span class="hljs-string">"bat"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>)  = <span class="hljs-string">"bat  "</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">1</span>)  = <span class="hljs-string">"bat"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">-1</span>) = <span class="hljs-string">"bat"</span>
IString.padRight(<span class="hljs-string">""</span>, <span class="hljs-number">3</span>, <span class="hljs-string">"z"</span>)      = <span class="hljs-string">"zzz"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">3</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"bat"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"batyz"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">8</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"batyzyzy"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">1</span>, <span class="hljs-string">"yz"</span>)  = <span class="hljs-string">"bat"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">-1</span>, <span class="hljs-string">"yz"</span>) = <span class="hljs-string">"bat"</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>, null)  = <span class="hljs-string">"bat  "</span>
IString.padRight(<span class="hljs-string">"bat"</span>, <span class="hljs-number">5</span>, <span class="hljs-string">""</span>)    = <span class="hljs-string">"bat  "</span>
</code></pre>
								</div>
								<dl class="tsd-comment-tags">
									<dt>optional</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>size: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>最终的字符串长度</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> padStr: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;&quot;&quot;</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的需要填充的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span>
								<span class="tsd-signature-symbol"> | </span>
								<span class="tsd-signature-type">null</span>
							</h4>
							<p>返回填充完成的字符串,如果给定字符串为null,则返回null</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="replace" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> replace</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">replace<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, rule<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegExp</span>, replacement<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L287">IString.ts:287</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>替换与正则表达式匹配的子串，功能与replaceFirst相同</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>rule: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegExp</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>规定子字符串或要替换的模式的 RegExp 对象。</p>
									</div>
								</li>
								<li>
									<h5>replacement: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>一个字符串值。规定了替换文本或生成替换文本的函数。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>替换完成的字符串</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="replaceall" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> replace<wbr>All</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">replace<wbr>All<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, findText<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, replaceText<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L321">IString.ts:321</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>根据给定文本,替换所有目标字符串中指定的文本</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>findText: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>查找的文本</p>
									</div>
								</li>
								<li>
									<h5>replaceText: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>替换的文本</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>返回替换后的文本信息</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="replacefirst" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> replace<wbr>First</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">replace<wbr>First<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, rule<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegExp</span>, replacement<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L310">IString.ts:310</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>替换第一个与正则表达式匹配的子串</p>
									<pre><code>IString.replaceFirst(<span class="hljs-string">""</span>, <span class="hljs-string">""</span>, <span class="hljs-string">"zzz"</span>)     =  <span class="hljs-string">"zzz"</span>
IString.replaceFirst(<span class="hljs-string">""</span>, <span class="hljs-regexp">/.*!/</span>, <span class="hljs-string">"zzz"</span>)   =  <span class="hljs-string">"zzz"</span>
IString.replaceFirst(<span class="hljs-string">""</span>, <span class="hljs-regexp">/.+/</span>, <span class="hljs-string">"zzz"</span>)   =  <span class="hljs-string">""</span>
IString.replaceFirst(<span class="hljs-string">"abc"</span>, <span class="hljs-string">""</span>, <span class="hljs-string">"ZZ"</span>)   =  <span class="hljs-string">"ZZabc"</span>
IString.replaceFirst(<span class="hljs-string">"abc"</span>, <span class="hljs-string">"b"</span>, <span class="hljs-string">"ZZ"</span>)  =   <span class="hljs-string">"aZZc"</span>
IString.replaceFirst(<span class="hljs-string">"&lt;__&gt;\n&lt;__&gt;"</span>, <span class="hljs-regexp">/&lt;.*&gt;/</span>, <span class="hljs-string">"z"</span>)  =  <span class="hljs-string">"z\n&lt;__&gt;"</span>
IString.replaceFirst(<span class="hljs-string">"ABCabc123"</span>, <span class="hljs-regexp">/[a-z]/</span>, <span class="hljs-string">"_"</span>)  =    <span class="hljs-string">"ABC_bc123"</span>
IString.replaceFirst(<span class="hljs-string">"ABCabc123abc"</span>, <span class="hljs-regexp">/[^A-Z0-9]+/</span>, <span class="hljs-string">"_"</span>)   =   <span class="hljs-string">"ABC_123abc"</span>
IString.replaceFirst(<span class="hljs-string">"ABCabc123abc"</span>, <span class="hljs-regexp">/[^A-Z0-9]+/</span>, <span class="hljs-string">""</span>)    =   <span class="hljs-string">"ABC123abc"</span>
IString.replaceFirst(<span class="hljs-string">"Lorem ipsum  dolor   sit"</span>, <span class="hljs-regexp">/( +)([a-z]+)/</span>, <span class="hljs-string">"_$2"</span>)   =   <span class="hljs-string">"Lorem_ipsum  dolor   si</span>
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>rule: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegExp</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>规定子字符串或要替换的模式的 RegExp 对象。</p>
									</div>
								</li>
								<li>
									<h5>replacement: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>一个字符串值。规定了替换文本或生成替换文本的函数。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>替换完成的字符串</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="split" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> split</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">split<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, separator<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L331">IString.ts:331</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>根据给定文本和分隔符，分割字符串</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>separator: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>分割字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>分割后的字符组成的数组</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="startwith" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> start<wbr>With</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">start<wbr>With<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, prefix<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L348">IString.ts:348</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>判断字符串是否以prefix开头</p>
									<pre><code>IString.startWith(<span class="hljs-literal">null</span>, <span class="hljs-literal">null</span>)      = <span class="hljs-literal">true</span>
IString.startWith(<span class="hljs-literal">null</span>, <span class="hljs-string">"abc"</span>)     = <span class="hljs-literal">false</span>
IString.startWith(<span class="hljs-string">"abcdef"</span>, <span class="hljs-literal">null</span>)  = <span class="hljs-literal">false</span>
IString.startWith(<span class="hljs-string">"abcdef"</span>, <span class="hljs-string">"abc"</span>) = <span class="hljs-literal">true</span>
IString.startWith(<span class="hljs-string">"ABCDEF"</span>, <span class="hljs-string">"abc"</span>) = <span class="hljs-literal">false</span>
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>prefix: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要搜索的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true:是  false:否</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="striphtml" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> stripHTML</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">stripHTML<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L357">IString.ts:357</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>去掉字符串中的html标签</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要处理的字符串.</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>清除完html标签的字符串</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="substr" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> substr</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">substr<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, start<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L368">IString.ts:368</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>方法可在字符串中抽取从 start 下标开始的指定数目的字符。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>start: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>要抽取的子串的起始下标。必须是数值。如果是负数，那么该参数声明从字符串的尾部开始算起的位置。也就是说，-1 指字符串中最后一个字符，-2 指倒数第二个字符，以此类推。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> length: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;str.length</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>子串中的字符数。必须是数值。如果省略了该参数，那么返回从 stringObject 的开始位置到结尾的字串。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>一个新的字符串，包含从 stringObject 的 start（包括 start 所指的字符） 处开始的 length 个字符。如果没有指定 length，那么返回的字符串包含从 start 到 stringObject 的结尾的字符。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="substring" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> substring</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">substring<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, start<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, stop<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L382">IString.ts:382</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>方法用于提取字符串中介于两个指定下标之间的字符。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
								<li>
									<h5>start: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>一个非负的整数，规定要提取的子串的第一个字符在 stringObject 中的位置。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> stop: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;str.length</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>一个非负的整数，比要提取的子串的最后一个字符在 stringObject 中的位置多 1。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>截取的结果字符串</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="tocamelcase" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> to<wbr>Camel<wbr>Case</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">to<wbr>Camel<wbr>Case<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L394">IString.ts:394</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>将目标字符串进行驼峰化处理,支持单词以“-_”分隔</p>
									<pre><code>Dev<span class="hljs-selector-class">.String</span><span class="hljs-selector-class">.toCamelCase</span>(<span class="hljs-string">'i-like_cock-oh-yeah_haha_haha'</span>)  ===&gt; iLikeCockOhYeahHahaHaha
</code></pre>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>驼峰化处理后的字符串</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="tojson" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> to<wbr>Json</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">to<wbr>Json<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L408">IString.ts:408</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>将给定的字符串转义为JSON字符串</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="tolowercase" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> to<wbr>Lower<wbr>Case</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">to<wbr>Lower<wbr>Case<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L420">IString.ts:420</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>方法用于把字符串转换为小写。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>一个新的字符串，在其中 stringObject 的所有大写字符全部被转换为了小写字符。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="tostring" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> to<wbr>String</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">to<wbr>String<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L429">IString.ts:429</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>返回字符串</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="touppercase" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> to<wbr>Upper<wbr>Case</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">to<wbr>Upper<wbr>Case<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L438">IString.ts:438</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>方法用于把字符串转换为大写。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>一个新的字符串，在其中 stringObject 的所有小写字符全部被转换为了大写字符。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="trim" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> trim</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">trim<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L447">IString.ts:447</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>去除字符串左右两边的空格</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>清除后的结果</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="trimleft" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> trim<wbr>Left</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">trim<wbr>Left<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L456">IString.ts:456</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>去除字符串左侧的空格</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="trimright" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> trim<wbr>Right</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">trim<wbr>Right<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L465">IString.ts:465</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>去除字符串右侧的空格</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>给定的字符串</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="valueof" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> value<wbr>Of</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">value<wbr>Of<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/sdaiweiy/jsdk-lang/blob/4953ec9/src/IString.ts#L474">IString.ts:474</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>将给定的对象转为字符串</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>参数作为一个字符串返回</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/iarray.html">"IArray"</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/iboolean.html">"IBoolean"</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/idate.html">"IDate"</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/ifunction.html">"IFunction"</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/inumber.html">"INumber"</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/iobject.html">"IObject"</a>
					</li>
					<li class="current tsd-kind-external-module">
						<a href="../modules/istring.html">"IString"</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/istringescape.html">"IString<wbr>Escape"</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="../modules/index.html">"index"</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-external-module">
						<a href="istring.istring-1.html" class="tsd-kind-icon">IString</a>
						<ul>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#charat" class="tsd-kind-icon">char<wbr>At</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#contains" class="tsd-kind-icon">contains</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#endwith" class="tsd-kind-icon">end<wbr>With</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#format" class="tsd-kind-icon">format</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#indexof" class="tsd-kind-icon">index<wbr>Of</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#isblank" class="tsd-kind-icon">is<wbr>Blank</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#isempty" class="tsd-kind-icon">is<wbr>Empty</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#isnotblank" class="tsd-kind-icon">is<wbr>Not<wbr>Blank</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#isnotempty" class="tsd-kind-icon">is<wbr>Not<wbr>Empty</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#isnotnullorempty" class="tsd-kind-icon">is<wbr>Not<wbr>Null<wbr>OrEmpty</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#isnullorempty" class="tsd-kind-icon">is<wbr>Null<wbr>OrEmpty</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#isstring" class="tsd-kind-icon">is<wbr>String</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#lastindexof" class="tsd-kind-icon">last<wbr>Index<wbr>Of</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#padleft" class="tsd-kind-icon">pad<wbr>Left</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#padright" class="tsd-kind-icon">pad<wbr>Right</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#replace" class="tsd-kind-icon">replace</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#replaceall" class="tsd-kind-icon">replace<wbr>All</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#replacefirst" class="tsd-kind-icon">replace<wbr>First</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#split" class="tsd-kind-icon">split</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#startwith" class="tsd-kind-icon">start<wbr>With</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#striphtml" class="tsd-kind-icon">stripHTML</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#substr" class="tsd-kind-icon">substr</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#substring" class="tsd-kind-icon">substring</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#tocamelcase" class="tsd-kind-icon">to<wbr>Camel<wbr>Case</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#tojson" class="tsd-kind-icon">to<wbr>Json</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#tolowercase" class="tsd-kind-icon">to<wbr>Lower<wbr>Case</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#tostring" class="tsd-kind-icon">to<wbr>String</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#touppercase" class="tsd-kind-icon">to<wbr>Upper<wbr>Case</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#trim" class="tsd-kind-icon">trim</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#trimleft" class="tsd-kind-icon">trim<wbr>Left</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#trimright" class="tsd-kind-icon">trim<wbr>Right</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="istring.istring-1.html#valueof" class="tsd-kind-icon">value<wbr>Of</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
						<a href="../modules/istring.html#chartoreplace" class="tsd-kind-icon">_<wbr>Char<wbr>ToReplace</a>
					</li>
					<li class=" tsd-kind-object-literal tsd-parent-kind-external-module tsd-is-not-exported">
						<a href="../modules/istring.html#meta" class="tsd-kind-icon">_<wbr>Meta</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>